package com.gupao.javavip.gof.strategy;

public class CalculatorController {
    //委派模式
    public int calculate(int num1, int num2, CalculatorOperation operation) {
        CalculatorService service = new CalculatorService();
        return service.calculate(num1, num2, operation);
    }
}
